package com.hljx.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 病人手术主记录
 * </p>
 *
 * @author ${author}
 * @since 2023-11-20
 */
@Getter
@Setter
@TableName("med_operation_master")
public class MedOperationMaster extends SplitTableName {

    /**
     * 病人标识;非空，唯一确定手术病人（门急诊病人没有主索引记录的，由O+YYMMDD+流水号作为病人ID）
     */
    @TableId("PATIENT_ID")
    private String patientId;

    /**
     * 本次住院标识;对门诊病人为0
     */
    @TableField("VISIT_ID")
    private Short visitId;

    /**
     * 手术号;一个病人一次住院期间手术的标识，从1开始顺序排列。如果为门诊病人，则在VISIT_ID为0 的所有记录中顺序排列
     */
    @TableField("OPER_ID")
    private Short operId;

    /**
     * 病人所在科室;病人所在科室，即申请科室 
     */
    @TableField("DEPT_STAYED")
    private String deptStayed;

    /**
     * 手术室;手术室科室代码
     */
    @TableField("OPERATING_ROOM")
    private String operatingRoom;

    /**
     * 手术间;手术间号，见手术间床位字典  OPERATING_BED_DICT字典
     */
    @TableField("OPERATING_ROOM_NO")
    private String operatingRoomNo;

    /**
     * 术前主要诊断;病人手术前的诊断描述
     */
    @TableField("DIAG_BEFORE_OPERATION")
    private String diagBeforeOperation;

    /**
     * 病情说明
     */
    @TableField("PATIENT_CONDITION")
    private String patientCondition;

    /**
     * 手术等级;指一次手术的综合等级。取值：特、大、中、小
     */
    @TableField("OPERATION_SCALE")
    private String operationScale;

    /**
     * 术后诊断;病人手术后的诊断描述
     */
    @TableField("DIAG_AFTER_OPERATION")
    private String diagAfterOperation;

    /**
     * 急诊标志;0-择期 1-急诊
     */
    @TableField("EMERGENCY_INDICATOR")
    private Short emergencyIndicator;

    /**
     * 隔离标志;指手术是否需要隔离，1-正常 2-隔离 3-放射
     */
    @TableField("ISOLATION_INDICATOR")
    private Short isolationIndicator;

    /**
     * 手术类型;1-一般手术 2-急抢救手术 3-术中急抢救
     */
    @TableField("OPERATION_CLASS")
    private String operationClass;

    /**
     * 手术科室;实施手术的科室代码
     */
    @TableField("OPERATING_DEPT")
    private String operatingDept;

    /**
     * 手术者;手术医师姓名
     */
    @TableField("SURGEON")
    private String surgeon;

    /**
     * 第一手术助手;第一手术助手姓名
     */
    @TableField("FIRST_ASSISTANT")
    private String firstAssistant;

    /**
     * 第二手术助手;第二手术助手姓名
     */
    @TableField("SECOND_ASSISTANT")
    private String secondAssistant;

    /**
     * 第三手术助手;第三手术助手姓名
     */
    @TableField("THIRD_ASSISTANT")
    private String thirdAssistant;

    /**
     * 第四手术助手;第四手术助手姓名
     */
    @TableField("FOURTH_ASSISTANT")
    private String fourthAssistant;

    /**
     * 麻醉方法
     */
    @TableField("ANESTHESIA_METHOD")
    private String anesthesiaMethod;

    /**
     * 麻醉医师;麻醉医师姓名
     */
    @TableField("ANESTHESIA_DOCTOR")
    private String anesthesiaDoctor;

    /**
     * 麻醉助手;麻醉助手姓名
     */
    @TableField("ANESTHESIA_ASSISTANT")
    private String anesthesiaAssistant;

    /**
     * 输血者;输血医师姓名
     */
    @TableField("BLOOD_TRAN_DOCTOR")
    private String bloodTranDoctor;

    /**
     * 第一台上护士;护士姓名
     */
    @TableField("FIRST_OPERATION_NURSE")
    private String firstOperationNurse;

    /**
     * 第二台上护士;护士姓名
     */
    @TableField("SECOND_OPERATION_NURSE")
    private String secondOperationNurse;

    /**
     * 第一供应护士;护士姓名
     */
    @TableField("FIRST_SUPPLY_NURSE")
    private String firstSupplyNurse;

    /**
     * 第二供应护士;护士姓名
     */
    @TableField("SECOND_SUPPLY_NURSE")
    private String secondSupplyNurse;

    /**
     * 手术护士换班标志;0-未换班 1-换班
     */
    @TableField("NURSE_SHIFT_INDICATOR")
    private Short nurseShiftIndicator;

    /**
     * 手术开始日期及时间
     */
    @TableField("START_DATE_TIME")
    private LocalDateTime startDateTime;

    /**
     * 手术结束日期及时间
     */
    @TableField("END_DATE_TIME")
    private LocalDateTime endDateTime;

    /**
     * 麻醉满意程度;1-满意 2-不全满意 3-改麻醉
     */
    @TableField("SATISFACTION_DEGREE")
    private Short satisfactionDegree;

    /**
     * 手术过程顺利标志;1-顺利 0-不顺利
     */
    @TableField("SMOOTH_INDICATOR")
    private Short smoothIndicator;

    /**
     * 输液量;此处含义重新界定，原来指总入量，单位：毫升
     */
    @TableField("IN_FLUIDS_AMOUNT")
    private Integer inFluidsAmount;

    /**
     * 尿量;此处含义重新界定，原来指总出量，单位：毫升
     */
    @TableField("OUT_FLUIDS_AMOUNT")
    private Integer outFluidsAmount;

    /**
     * 失血量;术中失血量，单位：毫升
     */
    @TableField("BLOOD_LOSSED")
    private Integer bloodLossed;

    /**
     * 输血量;术中输血量，单位：毫升
     */
    @TableField("BLOOD_TRANSFERED")
    private Integer bloodTransfered;

    /**
     * 录入者
     */
    @TableField("ENTERED_BY")
    private String enteredBy;

    /**
     * 第三供应护士
     */
    @TableField("THIRD_SUPPLY_NURSE")
    private String thirdSupplyNurse;

    /**
     * 医嘱提交
     */
    @TableField("ORDER_TRANSFER")
    private Short orderTransfer;

    /**
     * 费用提交
     */
    @TableField("CHARGE_TRANSFER")
    private Short chargeTransfer;

    /**
     * 完成标识;1-手术登记完成，完成后不允许再修改
     */
    @TableField("END_INDICATOR")
    private Short endIndicator;

    @TableField("RECK_GROUP")
    private String reckGroup;

    /**
     * 手术状态;0-新申请，1-已安排，2-术中，3-PACU，4-术后，5-已提交
     */
    @TableField("OPER_STATUS")
    private Short operStatus;

    /**
     * 麻醉助手2;目前解释为灌注医生1
     */
    @TableField("SECOND_ANESTHESIA_ASSISTANT")
    private String secondAnesthesiaAssistant;

    /**
     * 麻醉助手3;目前解释为灌注医生1
     */
    @TableField("THIRD_ANESTHESIA_ASSISTANT")
    private String thirdAnesthesiaAssistant;

    /**
     * 麻醉助手4;目前未使用
     */
    @TableField("FOURTH_ANESTHESIA_ASSISTANT")
    private String fourthAnesthesiaAssistant;

    /**
     * 手术体位
     */
    @TableField("OPERATION_POSITION")
    private String operationPosition;

    /**
     * 器械清点结果;0-对数，1-不对数
     */
    @TableField("OPERATION_EQUIP_INDICATOR")
    private Short operationEquipIndicator;

    /**
     * 麻醉医生2
     */
    @TableField("SECOND_ANESTHESIA_DOCTOR")
    private String secondAnesthesiaDoctor;

    /**
     * 麻醉医生3
     */
    @TableField("THIRD_ANESTHESIA_DOCTOR")
    private String thirdAnesthesiaDoctor;

    /**
     * 其它入量;术中其它入量，单位：毫升
     */
    @TableField("OTHER_IN_AMOUNT")
    private Integer otherInAmount;

    /**
     * 其它出量;术中其它出量，单位：毫升
     */
    @TableField("OTHER_OUT_AMOUNT")
    private Integer otherOutAmount;

    /**
     * 进入手术室日期及时间
     */
    @TableField("IN_DATE_TIME")
    private LocalDateTime inDateTime;

    /**
     * 离开手术室日期及时间
     */
    @TableField("OUT_DATE_TIME")
    private LocalDateTime outDateTime;

    @TableField("RESERVED1")
    private String reserved1;

    @TableField("BLOOD_WHOLE_SELF")
    private Integer bloodWholeSelf;

    @TableField("BLOOD_WHOLE")
    private Integer bloodWhole;

    @TableField("BLOOD_RBC")
    private Integer bloodRbc;

    @TableField("BLOOD_PLASM")
    private Integer bloodPlasm;

    @TableField("BLOOD_OTHER")
    private Integer bloodOther;

    @TableField("RESERVED2")
    private String reserved2;

    @TableField("SPECIAL_EQUIPMENT")
    private String specialEquipment;

    @TableField("SPECIAL_INFECT")
    private String specialInfect;

    @TableField("HEPATITIS_INDICATOR")
    private Short hepatitisIndicator;

    @TableField("ANES_START_DATE_TIME")
    private LocalDateTime anesStartDateTime;

    @TableField("RETURN_DATE_TIME")
    private LocalDateTime returnDateTime;

    /**
     * 台次;目前没有使用
     */
    @TableField("SEQUENCE")
    private Short sequence;

    /**
     * 进入PACU日期及时间
     */
    @TableField("IN_PACU_DATE_TIME")
    private LocalDateTime inPacuDateTime;

    /**
     * 离开PACU日期及时间
     */
    @TableField("OUT_PACU_DATE_TIME")
    private LocalDateTime outPacuDateTime;

    @TableField("OPERATION_ID")
    private String operationId;

    @TableField("RESERVED3")
    private String reserved3;

    @TableField("RESERVED4")
    private String reserved4;

    @TableField("RESERVED5")
    private String reserved5;

    @TableField("RESERVED6")
    private String reserved6;

    @TableField("RESERVED7")
    private String reserved7;

    @TableField("RESERVED8")
    private String reserved8;

    @TableField("RESERVED9")
    private LocalDateTime reserved9;

    @TableField("RESERVED10")
    private LocalDateTime reserved10;

    @TableField("RESERVED11")
    private Integer reserved11;

    @TableField("RESERVED12")
    private Integer reserved12;

    @TableField("BLOOD_REUSE")
    private Integer bloodReuse;

    @TableField("SELF_BLOOD")
    private Integer selfBlood;

    @TableField("ENTERED_DATETIME")
    private LocalDateTime enteredDatetime;

    /**
     * 备注
     */
    @TableField("MEMO")
    private String memo;

    /**
     * 麻醉单编号
     */
    @TableField("ANESTHESIA_ID")
    private String anesthesiaId;

    @TableField("XJ")
    private Short xj;

    @TableField("AI")
    private Short ai;

    @TableField("AT")
    private Short at;

    @TableField("JT")
    private Short jt;

    /**
     * 体表面积(天总)
     */
    @TableField("BODY_AREA")
    private String bodyArea;

    /**
     * 气道与通气 (天总)
     */
    @TableField("GAS_PIPE")
    private String gasPipe;

    /**
     * 病人离开的术室情况(天总)
     */
    @TableField("PAT_LEAVE_SHOW")
    private String patLeaveShow;

    /**
     * 全麻(天总)
     */
    @TableField("WHOLE_ANES")
    private String wholeAnes;

    /**
     * 区域阻断(天总)
     */
    @TableField("STOP_ANES_AREA")
    private String stopAnesArea;

    /**
     * 阻断药物(天总)
     */
    @TableField("STOP_ANES_AREA_MED")
    private String stopAnesAreaMed;

    /**
     * 椎管内(天总)
     */
    @TableField("HOLE_PIPLE_ANES")
    private String holePipleAnes;

    /**
     * 阻断技术(天总)
     */
    @TableField("STOP_ANES_AREA_TECH")
    private String stopAnesAreaTech;

    /**
     * 针号(天总)
     */
    @TableField("PIN_SIZE")
    private String pinSize;

    /**
     * 置管上(天总)
     */
    @TableField("PIPLE_UP")
    private String pipleUp;

    /**
     * 置管下(天总)
     */
    @TableField("PIPLE_DOWN")
    private String pipleDown;

    /**
     * 刺激神经(天总)
     */
    @TableField("IRRITATE_NERVE")
    private String irritateNerve;

    /**
     * 麻醉范围(天总)
     */
    @TableField("ANES_RANGE")
    private String anesRange;

    /**
     * 备用药物(天总)
     */
    @TableField("BAK_MED")
    private String bakMed;

    /**
     * 全麻监测(天总)
     */
    @TableField("WATCH_ANES")
    private String watchAnes;

    /**
     * 全麻诱导药物静脉(天总)
     */
    @TableField("ALL_ANES_MED_LEAD1")
    private String allAnesMedLead1;

    /**
     * 全麻诱导药物吸入(天总)
     */
    @TableField("ALL_ANES_MED_LEAD2")
    private String allAnesMedLead2;

    /**
     * 全麻维持药物静脉(天总)
     */
    @TableField("ALL_ANES_MED_KEEP1")
    private String allAnesMedKeep1;

    /**
     * 全麻维持药物吸入(天总)
     */
    @TableField("ALL_ANES_MED_KEEP2")
    private String allAnesMedKeep2;

    /**
     * 胸水(天总)
     */
    @TableField("CHEST_WATER")
    private String chestWater;

    /**
     * 腹水(天总)
     */
    @TableField("ABDOMEN_WATER")
    private String abdomenWater;

    /**
     * 术前访视日期
     */
    @TableField("INQUIRY_BEFORE_DATE")
    private LocalDateTime inquiryBeforeDate;

    /**
     * 术后随访日期
     */
    @TableField("INQUIRY_AFTER_DATE")
    private LocalDateTime inquiryAfterDate;

    @TableField("THIRD_OPERATION_NURSE")
    private String thirdOperationNurse;

    /**
     * 烟台毓璜顶医院PACU医生
     */
    @TableField("PACU_DOCTOR")
    private String pacuDoctor;

    /**
     * 安阳 胶体液
     */
    @TableField("WATER_JT1")
    private Integer waterJt1;

    /**
     * 安阳 晶体液
     */
    @TableField("WATER_JT2")
    private Integer waterJt2;

    /**
     * 安阳 血小板
     */
    @TableField("BLOOD_XB")
    private Integer bloodXb;

    /**
     * 安阳 冷沉淀
     */
    @TableField("COOL_THING")
    private Integer coolThing;

    /**
     * 安阳 自体回输
     */
    @TableField("CRY_WATHER")
    private Integer cryWather;

    /**
     * 安阳 悬浮红细胞
     */
    @TableField("RED_BLOOD")
    private Integer redBlood;

    /**
     * 安阳 血浆
     */
    @TableField("BLOOD_AMOUNT")
    private Integer bloodAmount;

    @TableField("SCHEDULED_DATE_TIME")
    private LocalDateTime scheduledDateTime;

    @TableField("BED_NO")
    private String bedNo;

    @TableField("REQ_DATE_TIME")
    private LocalDateTime reqDateTime;

    @TableField("QIEKOU_CLASS")
    private String qiekouClass;

    @TableField("QIEKOU_NUMBER")
    private Integer qiekouNumber;

    @TableField("MEMO1")
    private String memo1;

    @TableField("OPERATION_NAME")
    private String operationName;

    @TableField("MEN_ZHEN")
    private String menZhen;

    @TableField("ANESTHESIA_RESULT")
    private String anesthesiaResult;

    @TableField("SIMPLE_SICK")
    private String simpleSick;

    @TableField("ISOLATION_NEED")
    private String isolationNeed;

    @TableField("DANBINGZHONG")
    private String danbingzhong;

    @TableField("YIBAO")
    private String yibao;

    @TableField("FIRST_SHIFT_SUPPLY_NURSE")
    private String firstShiftSupplyNurse;

    @TableField("FIRST_SHIFT_OPERATION_NURSE")
    private String firstShiftOperationNurse;

    @TableField("FIRST_SHIFT_SUPPLY_DATETIME")
    private LocalDateTime firstShiftSupplyDatetime;

    @TableField("FIRST_SHIFT_OPERATION_DATETIME")
    private LocalDateTime firstShiftOperationDatetime;

    @TableField("ANES_START_TIME")
    private LocalDateTime anesStartTime;

    @TableField("ANES_END_TIME")
    private LocalDateTime anesEndTime;

    @TableField("INDUCE_START_TIME")
    private LocalDateTime induceStartTime;

    @TableField("INDUCE_END_TIME")
    private LocalDateTime induceEndTime;

    @TableField("PACU_START_TIME")
    private LocalDateTime pacuStartTime;

    @TableField("PACU_END_TIME")
    private LocalDateTime pacuEndTime;

    @TableField("DONE_DATE_TIME")
    private LocalDateTime doneDateTime;

    @TableField("CANCEL_DATE_TIME")
    private LocalDateTime cancelDateTime;

    @TableField("ANALGESIC_PUMPS")
    private String analgesicPumps;

    /**
     * 提交手术者
     */
    @TableField("SUBMIT_USER")
    private String submitUser;

    /**
     * 入手术室操作者
     */
    @TableField("STARTOPER_USER")
    private String startoperUser;

    /**
     * 手术排班次数
     */
    @TableField("SCHEDULE_ID")
    private Short scheduleId;

    /**
     * 患者所在院区代码
     */
    @TableField("BRANCH_CODE")
    private String branchCode;

    /**
     * 手术申请时间
     */
    @TableField("APPLICATION_DATE_TIME")
    private LocalDateTime applicationDateTime;

    /**
     * 最后修改者ID
     */
    @TableField("LAST_UPDATED_BY")
    private String lastUpdatedBy;

    /**
     * 最后修改时间
     */
    @TableField("LAST_UPDATED_TIME")
    private LocalDateTime lastUpdatedTime;

    /**
     * 文书已归档
     */
    @TableField("DONEFILE")
    private Short donefile;
}
